package com.jiaoxn.example.dao;

import com.jiaoxn.example.entity.CompanyDO;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author jiao xn
 * @date 2022/8/25
 */
// @Mapper
@Repository
public interface CompanyDAO {
    @Select("SELECT * FROM company WHERE id = #{id};")
    CompanyDO queryById(Integer id);

    Integer insertCompany(CompanyDO companyDO);
}
